#ifndef SETUPDLG_H
#define SETUPDLG_H

#include <QDialog>

#include "ui_setupdlg.h"


class SetUpDlg : public QDialog , public Ui::SetUpDlg
{
    Q_OBJECT

public:
    explicit SetUpDlg(QWidget *parent = 0);
    ~SetUpDlg();

    void fillBaudCb();
    void readSettings();
    void saveSettings();

private slots:
    void chooseLogFile();

    void on_OkButtonBox_accepted();

    void on_OkButtonBox_rejected();

    //void on_m_applyCb_toggled(bool checked);

    void on_m_hexOutputCb_toggled(bool checked);

    void on_m_enableLoggingCb_toggled(bool checked);
    void on_m_logAppendCb_currentIndexChanged(int index);
};

#endif // SETUPDLG_H
